package com.chow.kaygateway.controller;


import com.chow.kaygateway.service.HiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
public class HiController {

    @Autowired
    private HiService hiService;


    @RequestMapping(value = "/hi/{name}",method = RequestMethod.GET)
    public String add(@PathVariable("name") String name){
        return hiService.Hi(name);
    }


}
